package com.rnkrsoft.suyan.config.server.services.compare.domains;

import com.rnkrsoft.suyan.config.internal.enums.CompareResultEnum;
import com.rnkrsoft.suyan.config.internal.enums.CompareSolutionEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.doc.annotation.ApidocElement;
import java.io.Serializable;

/**
 * Created by woate on 2019/5/20.
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ToCompareFile implements Serializable {
    @ApidocElement(value = "文件名")
    String fileName;
    @ApidocElement(value = "来源指纹", maxLen = 36)
    String sourceFileFingerprint;
    @ApidocElement(value = "来源文件")
    String sourceFullFile;
    @ApidocElement(value = "目标指纹", maxLen = 36)
    String targetFileFingerprint;
    @ApidocElement(value = "目标文件")
    String targetFullFile;
    @ApidocElement(value = "比较结果", enumClass = CompareResultEnum.class)
    int compareResult;
    @ApidocElement(value = "解决方案", enumClass = CompareSolutionEnum.class)
    int solution;
}
